<?php

/**
 * @file
 * newmenu_features.features.field_instance.inc
 */

/**
 * Implements hook_field_default_field_instances().
 */
function newmenu_features_field_default_field_instances() {
  $field_instances = [];

  // Exported field_instance: 'user-user-field_avatar'.
  $field_instances['user-user-field_avatar'] = [
    'bundle' => 'user',
    'deleted' => 0,
    'description' => '',
    'display' => [
      'default' => [
        'label' => 'above',
        'module' => 'image',
        'settings' => [
          'image_link' => '',
          'image_style' => '',
        ],
        'type' => 'image',
        'weight' => 1,
      ],
    ],
    'entity_type' => 'user',
    'field_name' => 'field_avatar',
    'label' => 'avatar',
    'required' => 0,
    'settings' => [
      'alt_field' => 0,
      'default_image' => 0,
      'file_directory' => 'pictures',
      'file_extensions' => 'png gif jpg jpeg',
      'max_filesize' => '',
      'max_resolution' => '',
      'min_resolution' => '',
      'title_field' => 0,
      'user_register_form' => 0,
    ],
    'widget' => [
      'active' => 1,
      'module' => 'image',
      'settings' => [
        'preview_image_style' => 'thumbnail',
        'progress_indicator' => 'throbber',
      ],
      'type' => 'image_image',
      'weight' => 8,
    ],
  ];

  // Exported field_instance: 'user-user-field_nickname'.
  $field_instances['user-user-field_nickname'] = [
    'bundle' => 'user',
    'default_value' => NULL,
    'deleted' => 0,
    'description' => '',
    'display' => [
      'default' => [
        'label' => 'above',
        'module' => 'text',
        'settings' => [],
        'type' => 'text_default',
        'weight' => 0,
      ],
    ],
    'entity_type' => 'user',
    'field_name' => 'field_nickname',
    'label' => 'nickname',
    'required' => 0,
    'settings' => [
      'text_processing' => 0,
      'user_register_form' => 0,
    ],
    'widget' => [
      'active' => 1,
      'module' => 'text',
      'settings' => [
        'size' => 60,
      ],
      'type' => 'text_textfield',
      'weight' => 7,
    ],
  ];

  // Exported field_instance: 'user-user-field_phone'.
  $field_instances['user-user-field_phone'] = [
    'bundle' => 'user',
    'default_value' => NULL,
    'deleted' => 0,
    'description' => '',
    'display' => [
      'default' => [
        'label' => 'above',
        'module' => 'text',
        'settings' => [],
        'type' => 'text_default',
        'weight' => 3,
      ],
    ],
    'entity_type' => 'user',
    'field_name' => 'field_phone',
    'label' => 'phone',
    'required' => 0,
    'settings' => [
      'text_processing' => 0,
      'user_register_form' => 0,
    ],
    'widget' => [
      'active' => 1,
      'module' => 'text',
      'settings' => [
        'size' => 60,
      ],
      'type' => 'text_textfield',
      'weight' => 10,
    ],
  ];

  // Exported field_instance: 'user-user-field_sex'.
  $field_instances['user-user-field_sex'] = [
    'bundle' => 'user',
    'default_value' => NULL,
    'deleted' => 0,
    'description' => '',
    'display' => [
      'default' => [
        'label' => 'above',
        'module' => 'list',
        'settings' => [],
        'type' => 'list_default',
        'weight' => 2,
      ],
    ],
    'entity_type' => 'user',
    'field_name' => 'field_sex',
    'label' => 'sex',
    'required' => 0,
    'settings' => [
      'user_register_form' => 0,
    ],
    'widget' => [
      'active' => 1,
      'module' => 'options',
      'settings' => [
        'apply_chosen' => '',
      ],
      'type' => 'options_select',
      'weight' => 9,
    ],
  ];

  // Translatables
  // Included for use with string extractors like potx.
  t('avatar');
  t('nickname');
  t('phone');
  t('sex');

  return $field_instances;
}
